<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Game_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-game_id" data-rule="required" data-source="game/index" class="form-control selectpage" name="row[game_id]" type="text" value="{$row.game_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cpu_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cpu_id" data-rule="required" data-source="product/cpu/index" class="form-control selectpage" name="row[cpu_id]" type="text" value="{$row.cpu_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Xianka_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-xianka_id" data-rule="required" data-source="product/graphics/index" class="form-control selectpage" name="row[xianka_id]" type="text" value="{$row.xianka_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Type')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[type]', ['0'=>__('1k'), '1'=>__('2k'), '2'=>__('4k')], $row['type'])}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Fps')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-fps" data-rule="required" class="form-control" name="row[fps]" type="number" value="{$row.fps|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Min_fps')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-min_fps" data-rule="required" class="form-control" name="row[min_fps]" type="number" value="{$row.min_fps|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Max_fps')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-max_fps" data-rule="required" class="form-control" name="row[max_fps]" type="number" value="{$row.max_fps|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Dram_size')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-dram_size" data-rule="required" class="form-control" name="row[dram_size]" type="number" value="{$row.dram_size|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Gpu_mem_size')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-gpu_mem_size" data-rule="required" class="form-control" name="row[gpu_mem_size]" type="number" value="{$row.gpu_mem_size|htmlentities}">
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
